package zhibi.cms.service;

import com.github.pagehelper.PageInfo;
import zhibi.cms.domain.WebPage;
import zhibi.cms.extra.pojo.WebPagePo;
import zhibi.frame.domain.Page;
import zhibi.frame.mybatis.example.Example;
import zhibi.frame.service.BaseService;

public interface WebPageService extends BaseService<WebPage> {

    /**
     * 条件查找列表
     *
     * @param example
     * @param page
     * @return
     */
    PageInfo<WebPagePo> selectPoByExample(Example example, Page page);

    /**
     * 通过菜单查找
     * @param menuID
     * @return
     */
    WebPage selectByMenu(String menuID);

}
